﻿using Minotaur.App.Domains.Model.Permission;
using Minotaur.App.Domains.Model.Personal;
using Minotaur.App.Domains.Model.Role;
using SqlSugar;
namespace Minotaur.App.Domains.Model.Menu
{
    /// <summary>
    /// 账号信息
    /// </summary>
    [SugarTable("MenuInfo")]
    public class MenuInfo : EntityBase
    { /// <summary>
      /// 主键ID
      /// </summary>
        [SugarColumn(ColumnName = "autoid", IsIdentity = true, IsPrimaryKey = true)]
        public virtual long AutoId { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(ColumnName = "code", IsTreeKey = true)]
        public virtual string? Code { get; set; }
        /// <summary>
        /// 站点地址
        /// </summary>
        [SugarColumn(ColumnName = "address")]

        public virtual string? Address { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        [SugarColumn(ColumnName = "icon")]

        public virtual string? Icon { get; set; }
        /// <summary>
        /// 父级编码
        /// </summary>
        [SugarColumn(ColumnName = "Parentcode")]

        public virtual string? ParentCode { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnName = "status")]

        public virtual bool? Status { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "sequence")]

        public virtual long? Sequence { get; set; }
         
    }
}
